import asyncio
async def fun1():
   for i in range(10000):
       print("fn1:"+str(i))
       # await asyncio.sleep(0.05)

async def fun2():
   for i in range(10000):
       print("fn2:"+str(i))
       # await asyncio.sleep(0.05)

res1=fun1()
res2=fun2()
asyncio.run(res1)
asyncio.run(res2)